home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / extern.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-18  |  3.0 KB  |  132 lines

  1. /*
  2.  * Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  * the City of New York.  Permission is granted to any individual or
  4.  * institution to use, copy, or redistribute this software so long as it
  5.  * is not sold for profit, provided this copyright notice is retained.
  6.  */
  7.  
  8. #ifdef RCSID
  9. #ifndef lint
  10. static char *extern_rcsid = "$Header: /f/src2/encore.bin/cucca/mm/tarring-it-up/RCS/extern.h,v 2.3 90/10/04 18:24:11 melissa Exp $";
  11. #endif
  12. #endif /* RCSID */
  13.  
  14. /*
  15.  * extern.h - miscellaneous external declarations
  16.  *
  17.  * see parse.h for other definitions used only by command-parsing routines
  18.  */
  19.  
  20. /* globals declared in version.c */
  21.  
  22. extern char *mm_version;        /* program version */
  23. extern char *mm_compiled;
  24. extern int mm_major_version;
  25. extern int mm_minor_version;
  26. extern int mm_edit_number;
  27. extern char *OStype;
  28.  
  29. /* global variables declared in mm.c */
  30.  
  31. extern int debug;            /* 1 if debugging */
  32. extern int mode;            /* command mode */
  33. extern char *progname;            /* pointer basename(argv[0]) */
  34. extern msgvec *cf;            /* current mail file */
  35. extern int minutes_west;
  36.  
  37. /* globals declared in init.c */
  38.  
  39. extern int PID;                /* process id */
  40. extern int UID;                /* user id */
  41. extern char *HOME;            /* user's home directory */
  42. extern char *real_personal_name;    /* user's real name */
  43.  
  44. /* globals in compat.c */
  45.  
  46. extern char shorthostname[], fullhostname[], *mailhostname, *localdomain;
  47.  
  48. /* global variables declared in set.c */
  49.  
  50. extern
  51. int    aliases_use_groups,
  52.     auto_startup_get,
  53.         autowrap_column,
  54.         clear_screen,
  55.     control_n_abort,
  56.         control_d_automatic_send,
  57.     control_e_editor,
  58.     crt,
  59.     directory_folders,
  60.     display_flagged_messages,
  61.       display_outgoing_message,
  62.     escape_automatic_send,
  63.         fast_init_file,
  64.       gnuemacs_mmail,
  65.       list_include_headers,
  66.     list_on_separate_pages,
  67.         modify_read_only,
  68.     new_file_mode,
  69.     prompt_for_bcc,
  70.         reply_all,
  71.         reply_include_me,
  72.         reply_initial_display,
  73.     reply_insert,
  74.       send_verbose,
  75.       sendmail_verbose,
  76.         suspend_on_exit,
  77.         suspend_on_quit,
  78.         terse_text_prompt,
  79.     use_editor_always;
  80.     
  81. extern
  82. string    crt_filter,
  83.     header_options_file,
  84. /*    keywords,*/
  85.     mail_directory,
  86.     mail_file,
  87.         mmail_path,
  88.     personal_name,
  89.     print_filter,
  90.     read_prompt,
  91.     reply_indent,
  92.     saved_messages_file,
  93.     send_prompt,
  94.     temp_directory,
  95.     top_level_prompt,
  96.     user_name;
  97.  
  98. extern
  99. addresslist
  100.     default_bcc_list,
  101.     default_cc_list;
  102.  
  103. extern
  104. keylist    dont_print_headers,
  105.         dont_type_headers,
  106.     default_fcc_list,
  107.     user_keywords,
  108.         only_print_headers,
  109.     only_type_headers,
  110.     user_headers, 
  111.         incoming_mail,
  112.     speller,
  113.     editor;
  114.  
  115. /* miscellaneous C library routines/variables */
  116.  
  117. char *index (), *rindex (), *getenv (), *malloc ();
  118.  
  119. extern char *sys_errlist[];
  120. extern int errno, sys_nerr;
  121. long time ();
  122.  
  123. /* miscellaneous utility routines defined in mm modules */
  124.  
  125. char *errstr (), *ctad (), *hdate (), *cdate (), *fdate (), *daytime (),
  126.     *skipheader (), *search (), *whoami (), *getlocalhostname ();
  127. time_t itime (), stringtotime (), datimetogmt ();
  128. msgvec *getfile ();
  129.  
  130. extern int allow_aborts;
  131. extern Mail_aliases mail_aliases;
  132.